package J1_15;

public class J115task1 {
    public static void main(String[] args) {
        for (int i=1;i<=50;i++){
            for (int j=1;j<i+8;j++){
                if ((i*j)==(6*(i+j))&&i!=j)
                    System.out.println(i+","+j);
            }
        }
    }
}
